package com.tensquare.friend.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @Auther: hjk
 * @Date: 2019/6/23 12:25
 * @Description:
 */
@FeignClient("tensquare-user")
public interface UserClient {

    @PutMapping("/user/{userId}/{friendId}/{x}")
    public void updatefanscountandfollowcount(@PathVariable("userId") String userId, @PathVariable("friendId") String friendId,@PathVariable("x")  int x);
}
